ExamPlay Light Logo
Registrazione

Computer Science for IGCSE & O level - Programming (Section 7 - No. 31)

What is the output of `print(str(123) + "456")`?
579
123456
"123456"
Error

Spiegazione

str(123) converts 123 to a string; string concatenation results in 123456.

Commenti (0)

Accedi per commentare
Annuncio
BrainBehindX Inc Logo
©2026; Offerto da BrainBehindX Inc